<?
switch (true) {
			case file_exists($_SERVER[DOCUMENT_ROOT]."/".FOLDER."/uploads/logo.jpg"):
			  $logo = 'style="background-image:url(uploads/logo.jpg);"';
			break;
			
			case file_exists($_SERVER[DOCUMENT_ROOT]."/".FOLDER."/uploads/logo.gif"):
			  $logo = 'style="background-image:url(uploads/logo.gif);"';
			break;
			
			case file_exists($_SERVER[DOCUMENT_ROOT]."/".FOLDER."/uploads/logo.png"):
			  $logo = 'style="background-image:url(uploads/logo.png);"';
			break;
			
			default:
			  $logo = "";
			break;
}
?>
<div class="logo" <?=$logo?>></div>
<div class="top-center">Benvenuto <?=$_SESSION[nome]?></div>
<div class="top-right"><input type="button" value="LOGOUT" onClick="logout_cliente();" /></div>